package com.comp490.navigation;

import com.comp490.shooter.R;

import android.graphics.Typeface;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;

public class MainMenuSelectionFrag extends Fragment
{

    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup viewgroup,
            Bundle state)
    {

        return inflater.inflate(R.layout.mainmenu_selectionfrag, viewgroup,
                false);
    }

    @Override
    public void onActivityCreated(Bundle state)
    {
        super.onActivityCreated(state);

        Button home = (Button) getActivity().findViewById(
                R.id.button_mainmenu_home);
        Button options = (Button) getActivity().findViewById(
                R.id.button_mainmenu_options);
        Button scores = (Button) getActivity().findViewById(
                R.id.button_mainmenu_highscore);
        Button exit = (Button) getActivity().findViewById(
                R.id.button_mainmenu_exit);

        Typeface arkitech = Typeface.createFromAsset(this.getActivity()
                .getAssets(), "arkitech_light.ttf");

        home.setTypeface(arkitech);
        options.setTypeface(arkitech);
        scores.setTypeface(arkitech);
        exit.setTypeface(arkitech);
    }

    @Override
    public void onPause()
    {
        super.onPause();
    }

}
